package com.koron.css2.meterService.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.koron.css2.baseConfig.bean.BaseBean;
import com.koron.util.Check;

import java.util.Date;

/**
 * 校表
 * @author bin
 *
 */
public class MsRepairBean extends BaseBean{
	
	/**
	 * 主键
	 */
	private String id;
	
	/**
	 * 票据单号
	 */
	private String billNo;

	/**
	 * 票据日期
	 */
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private Date billDate;
	
	/**
	 * 修复类型  1维修，2送检
	 */
	@Check(name = "维检类型", notEmpty = true)
	private String repairType;
	
	/**
	 * 水表号码
	 */
	private String meterNo;
	
	/**
	 * 拆表日期
	 */
	@Check(name = "拆表日期", notEmpty = true)
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private Date removeDate;
	
	/**
	 * 送修日期
	 */
	@Check(name = "送修日期", notEmpty = true)
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private Date sendRepairDate;
	
	/**
	 * 备注
	 */
	private String comments;
	
	/**
	 * 维修日期
	 */
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private Date repairDate;
	
	/**
	 * 维修结果 
	 */
	private String repairResult;
	
	/**
	 * 维修说明
	 */
	private String repairComments;

	/**
	 * 检定日期
	 */
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private Date calibrationDate;

	/**
	 * 检定结果
	 */
	private String calibrationResult;

	/**
	 * 检定说明
	 */
	private String calibrationComments;

	/**
	 * 信息来源  PIS
	 */
	@Check(name = "信息来源", notEmpty = true, number = true)
	private Integer sourceFlag;
	
	/**
	 * 流程实例ID
	 */
	private String processInstanceId;
	
	/**
	 * 流程状态
	 */
	private String processState;
	
	private String processName;
	
	private String processHandleMan;
	
	private String tempId;//附件临时ID
	
	public String getTempId() {
		return tempId;
	}

	public void setTempId(String tempId) {
		this.tempId = tempId;
	}

	public String getProcessHandleMan() {
		return processHandleMan;
	}

	public void setProcessHandleMan(String processHandleMan) {
		this.processHandleMan = processHandleMan;
	}

	public String getProcessName() {
		return processName;
	}

	public void setProcessName(String processName) {
		this.processName = processName;
	}
	
	public Date getBillDate() {
		return billDate;
	}
	
	public String getBillNo() {
		return billNo;
	}
	
	public String getCalibrationComments() {
		return calibrationComments;
	}
	
	public Date getCalibrationDate() {
		return calibrationDate;
	}

	public String getCalibrationResult() {
		return calibrationResult;
	}

	public String getComments() {
		return comments;
	}

	public String getId() {
		return id;
	}

	public String getMeterNo() {
		return meterNo;
	}

	public String getProcessState() {
		return processState;
	}

	public Date getRemoveDate() {
		return removeDate;
	}

	public String getRepairComments() {
		return repairComments;
	}

	public Date getRepairDate() {
		return repairDate;
	}

	public String getRepairResult() {
		return repairResult;
	}

	public String getRepairType() {
		return repairType;
	}

	public Date getSendRepairDate() {
		return sendRepairDate;
	}

	public Integer getSourceFlag() {
		return sourceFlag;
	}

	public void setBillDate(Date billDate) {
		this.billDate = billDate;
	}

	public void setBillNo(String billNo) {
		this.billNo = billNo;
	}

	public void setCalibrationComments(String calibrationComments) {
		this.calibrationComments = calibrationComments;
	}

	public void setCalibrationDate(Date calibrationDate) {
		this.calibrationDate = calibrationDate;
	}

	public void setCalibrationResult(String calibrationResult) {
		this.calibrationResult = calibrationResult;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

	public void setId(String id) {
		this.id = id;
	}

	public void setMeterNo(String meterNo) {
		this.meterNo = meterNo;
	}
	
	public String getProcessInstanceId() {
		return processInstanceId;
	}

	public void setProcessInstanceId(String processInstanceId) {
		this.processInstanceId = processInstanceId;
	}

	public void setProcessState(String processState) {
		this.processState = processState;
	}

	public void setRemoveDate(Date removeDate) {
		this.removeDate = removeDate;
	}

	public void setRepairComments(String repairComments) {
		this.repairComments = repairComments;
	}

	public void setRepairDate(Date repairDate) {
		this.repairDate = repairDate;
	}

	public void setRepairResult(String repairResult) {
		this.repairResult = repairResult;
	}

	public void setRepairType(String repairType) {
		this.repairType = repairType;
	}

	public void setSendRepairDate(Date sendRepairDate) {
		this.sendRepairDate = sendRepairDate;
	}

	public void setSourceFlag(Integer sourceFlag) {
		this.sourceFlag = sourceFlag;
	}

}
